using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace CompositeWeb.Extensions.Configuration
{
    /// <summary>
    /// A <see cref="ConfigurationSection"/> for module configuration.
    /// </summary>
    public class CustomModulesConfigurationSection : ConfigurationSection
    {
        /// <summary>
        /// Gets or sets the collection of modules configuration.
        /// </summary>
        [ConfigurationProperty("", IsDefaultCollection = true, IsKey = false)]
        public CustomModuleConfigurationElementCollection Modules
        {
            get { return (CustomModuleConfigurationElementCollection)base[""]; }
            set { base[""] = value; }
        }
    }
}
